
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置RechargeRecord的AutoMapper
    /// </summary>
	internal static class RechargeRecordMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <RechargeRecord,RechargeRecordListDto>();
            configuration.CreateMap <RechargeRecordListDto,RechargeRecord>();

            configuration.CreateMap <RechargeRecordEditDto,RechargeRecord>();
            configuration.CreateMap <RechargeRecord,RechargeRecordEditDto>();

        }
	}
}
